<%--
  Created by IntelliJ IDEA.
  User: oldliu
  Date: 2022/7/1
  Time: 10:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>新生注册</title>
</head>
<body>
<form action="doRegister.jsp"  method="post">

    <p>
        <label for="uname">姓名：</label><input type="text" id="uname" name="uname" maxlength="12" value="unkown" required placeholder="请输入真实姓名" pattern="[\u4e00-\u9fa5]{2,10}"/>
    </p>
    <p>
        <label for="loginname">登录名：</label><input id="loginname" type="text" name="loginname" size="40" required placeholder="请输入登录名" pattern="\w{2,12}"/>
    </p>
    <p>
        密码：<input type="password" name="upass" placeholder="输入密码" required  />
    </p>
    <%--<p>
        <label>电子邮件</label>
        <input type="email" name="mail"/>
    </p>--%>
    <p>
        个人情况调查:
        <input type="checkbox" name="aihao" value="dancing"/>喜欢跳舞吗?
        <input type="checkbox" name="aihao" value="singing"/>喜欢唱歌吗?
        <input type="checkbox" name="aihao" value="Game" checked/>喜欢打游戏吗?
        <input type="checkbox" name="aihao" value="Drink"/>喜欢喝酒吗?
        <input type="checkbox" name="aihao" value="smoking"/>喜欢抽烟吗?
    </p>
    <p>
        <button>注册</button>
        <button type="reset">重来</button>
    </p>
</form>
</body>
</html>
